<?php
session_start();
include_once '../config/conexao.php';
$codigo = $_POST['cod'];
$delete = $conn->query("delete from comentario where codigo = $codigo");
if($delete){
	echo 1;
}else{
	echo 0;
}